package com.lingyun.mqttserver.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lingyun.mqttserver.dao.pojo.DeviceDataLog;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface DeviceDataLogMapper extends BaseMapper<DeviceDataLog> {
    List<Map<String, Object>> selectSampledData(Integer variableId, String startTime, String endTime, Integer interval, Integer limit);
}
